package com.qf.service.impl;/*
 *徐韬
 *2021/10/19
 *8:32
 */

import com.qf.service.Address;
import org.springframework.stereotype.Service;

@Service
public class AddressServiceimpl implements Address {
    @Override
    public void select() {
        System.out.println("查询单个方法");
    }

    @Override
    public int modfig() {
        System.out.println("修改方法");
        return 1;
    }

    @Override
    public void remove() {
        System.out.println("删除方法执行了");
    }

    @Override
    public void selectAll() {
        System.out.println("查询所有方法");
        throw new RuntimeException("异常抛出");
    }

    @Override
    public void add() {
        System.out.println("添加方法");
    }
}
